define(function() {
    project.embedCss('@charset "UTF-8";.GrabIntroduces{border-top:1px solid #e0e1e6;margin:.5rem .15rem 0}.GrabIntroduces li{border-bottom:1px solid #e0e1e6;position:relative;padding-bottom:.16rem}.GrabIntroduces li>h5{font-size:.14rem;width:90%;font-weight:400;margin:.17rem 0 0;color:#2a2e33}.GrabIntroduces li.active h5{color:#fd4701}.GrabIntroduces li.active .part-doucon{display:inline-block}.GrabIntroduces .grab-open{width:.12rem;height:.07rem;float:left;background:url(/images/iwidgets/GrabIntroduces/open.png) no-repeat;background-size:.12rem auto;position:absolute;right:.09rem;top:.061rem}.GrabIntroduces .grab-open.grab-stop{background:url(/images/iwidgets/GrabIntroduces/stop.png) no-repeat;background-size:.12rem auto}.GrabIntroduces li.last-no-line{border-bottom:none}.GrabIntroduces .part-doucon{font-size:.13rem;color:#9e9ea2;margin-top:.1rem;display:none;line-height:1.7}h6,li,ul{list-style:none;margin:0;padding:0}');
    var baseIWidgets = project.baseIWidgets;
    var Widget = (function(){
        var CON = function(dom){
            baseIWidgets.BaseIWidget.call(this, dom);
            $(dom).find('li').click(function(){
                if($(this).hasClass('active')){
                    $(this).removeClass('active');
                    $(this).find('.grab-open').removeClass('grab-stop');
                }else{
                    $(this).addClass('active').siblings().removeClass('active');
                    $(dom).find('li').find('.grab-open').removeClass('grab-stop');
                    $(this).find('.grab-open').addClass('grab-stop');
                }
            });

        };

        potato.createClass(CON, baseIWidgets.BaseIWidget);

        return CON;
    })();

    return Widget;
});

